#pragma once

namespace xpam
{
    template<class T1>
    struct size
    {
        template<class T2>
        size(const size<T2> & sz)
        {
            width = sz.width;
            height = sz.height;
        }

        size(T1 w, T1 h) : width(w), height(h) { }
        T1 width, height;
    };
}